<template>

  <router-view></router-view>
  <van-tabbar route active-color="#ee0a24" v-if="store.$state.isTabBarShow">
    <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item to="/category" icon="apps-o">分类</van-tabbar-item>
    <van-tabbar-item to="/recommend" icon="star-o">值得买</van-tabbar-item>
    <van-tabbar-item to="/shoppingcart" icon="shopping-cart-o">购物车</van-tabbar-item>
    <van-tabbar-item to="/mine" icon="contact">我的</van-tabbar-item>
  </van-tabbar>
</template>

<script lang="ts" setup>
import useStore from "@/store/index"
let store = useStore()
</script>

<style scoped></style>